how to use external resource.resx file in c#

90

how to use external resource.resx file in c# -

ResourceManager rm = new ResourceManager("UsingRESX.Resource1",  
Assembly.GetExecutingAssembly());  
String strWebsite = rm.GetString("Website",CultureInfo.CurrentCulture);  
String strName = rm.GetString("Name");  
form1.InnerText = "Website: " + strWebsite + "--Name: " + strName;

Comments

Submit
0 Comments